JavaScript
buttonList.setValue Method
Syntax
buttonListObj.setValue(value [, fireFlagOnSelect]);
Arguments
- valuestring
The 'value' property of the button to select.
- fireFlagOnSelectboolean
Default = true. A true/false value. If true, the onSelect event for the Button List Control will fire. If false, the onSelect event will not fire.
Description
Sets the selected button in a Button List Control.
Example
var buttonListObj = {dialog.object}.getControl('BUTTONLIST_1'); if (buttonListObj) { //set value to 'b3' buttonListObj.setValue('b3'); }